#ifndef LIST_H
#define LIST_H

#include <assert.h>
#include <stdlib.h>
#include <stdio.h>


struct list
{
  void* data;
  struct list* next;
};
typedef struct list list;

list* createList(void* data);
list* addElementToList(void* data, list* l);
list* removeElementList(list* l);
void dumpList(list* l);
int existInList(void* data, list* l);

#endif
